﻿
#ifndef	__EFFEKSEERRENDERER_PNG_TEXTURE_LOADER_H__
#define	__EFFEKSEERRENDERER_PNG_TEXTURE_LOADER_H__

#include <Effekseer.h>
#include <assert.h>
#include <string.h>
#include <vector>

namespace EffekseerRenderer
{

class PngTextureLoader
{
private:
	std::vector<uint8_t> textureData;
	int32_t textureWidth;
	int32_t textureHeight;

public:

	bool Load(void* data, int32_t size, bool rev);
	void Unload();

	void Initialize();
	void Finalize();

	std::vector<uint8_t>& GetData() { return textureData; }
	int32_t GetWidth() { return textureWidth; }
	int32_t GetHeight() { return textureHeight; }
};

}

#endif
